package com.genokon.entity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author by baichaoda
 * @date 2020/9/22 10:37
 */
@Data
@Component
public class TestUser {
    @Value("${testUser.name}")
    private String name;
    @Value("${testUser.sex}")
    private String sex;

}
